﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UFIDA.U8.YYNBJY.JSONDATA
{
    public class GLACCVOUCH
    {
        public List<GL_ACCVOUCH> GL_ACCVOUCH { get; set; }
}
    public class GL_ACCVOUCH
    {
        /// <summary>
        /// 
        /// </summary>
        public string voucherId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherPeriod { get; set; }
        /// <summary>
        /// 记账凭证
        /// </summary>
        public string voucherType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string accountSetNo { get; set; }
        /// <summary>
        /// 每刻档案测试公司
        /// </summary>
        public string businessEntityName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string businessEntityCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherDate { get; set; }
        /// <summary>
        /// 每刻档案测试公司
        /// </summary>
        public string setNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string principalMail { get; set; }
        /// <summary>
        /// 凭证字数据
        /// </summary>
        public string voucherWord { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string preparedBy { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string approvedBy { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string @operator { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string reviewer { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string cashier { get; set; }
        /// <summary>
        /// 小明
        /// </summary>
        public string postingMan { get; set; }
        /// <summary>
        /// 参考信息数据
        /// </summary>
        public string refer { get; set; }
        /// <summary>
        /// 业务标识数据
        /// </summary>
        public string buzIdentify { get; set; }
        /// <summary>
        /// 业务说明数据
        /// </summary>
        public string buzDeclare { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string total { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string standardCurrency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string attachmentsNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Custom custom { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<LinesItem> lines { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<AttchementsItem> attchements { get; set; }
    }

    public class Custom
    {
        /// <summary>
        /// 分录行自定义字段字段
        /// </summary>
        public string cszd { get; set; }
        /// <summary>
        /// 这条数据是V3新增/更新接口导入的
        /// </summary>
        public string testcode { get; set; }
    }

    public class AuxiliaryAccountingsItem
    {
        /// <summary>
        /// 类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string value { get; set; }
    }

    public class LinesItem
    {
        /// <summary>
        /// 摘要数据
        /// </summary>
        public string voucherAbstract { get; set; }
        /// <summary>
        /// 科目代码数据
        /// </summary>
        public string subjectCode { get; set; }
        /// <summary>
        /// 科目名称数据
        /// </summary>
        public string subjectName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string originalAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string debitAmount { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string creditAmount { get; set; }
        /// <summary>
        /// 分录顺序号1
        /// </summary>
        public string entrySequenceNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string quantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string unitPrice { get; set; }
        /// <summary>
        /// 人民币
        /// </summary>
        public string currency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string exchangeRate { get; set; }
        /// <summary>
        /// 部门编码数据
        /// </summary>
        public string deptCode { get; set; }
        /// <summary>
        /// 部门名称数据
        /// </summary>
        public string deptName { get; set; }
        /// <summary>
        /// 员工编码数据
        /// </summary>
        public string employeeCode { get; set; }
        /// <summary>
        /// 员工名称数据
        /// </summary>
        public string employeeName { get; set; }
        /// <summary>
        /// 项目编码数据
        /// </summary>
        public string projectCode { get; set; }
        /// <summary>
        /// 项目名称数据
        /// </summary>
        public string projectName { get; set; }
        /// <summary>
        /// 往来单位编码数据
        /// </summary>
        public string transactionUnitCode { get; set; }
        /// <summary>
        /// 往来单位名称数据
        /// </summary>
        public string transactionUnitName { get; set; }
        /// <summary>
        /// 供应商编码数据
        /// </summary>
        public string supplierCode { get; set; }
        /// <summary>
        /// 供应商名称数据
        /// </summary>
        public string supplierName { get; set; }
        /// <summary>
        /// 客商编码数据
        /// </summary>
        public string merchantCode { get; set; }
        /// <summary>
        /// 客商名称数据
        /// </summary>
        public string merchantName { get; set; }
        /// <summary>
        /// 存货编码数据
        /// </summary>
        public string inventoryCode { get; set; }
        /// <summary>
        /// 存货名称数据
        /// </summary>
        public string inventoryName { get; set; }
        /// <summary>
        /// 现金流量代码数据
        /// </summary>
        public string cashFlowCode { get; set; }
        /// <summary>
        /// 现金流量名称数据
        /// </summary>
        public string cashFlowName { get; set; }
        /// <summary>
        /// 业务备注数据
        /// </summary>
        public string businessRemark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Custom custom { get; set; }
        /// <summary>
        /// 辅助核算数据文本
        /// </summary>
        public string auxiliaryStr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<AuxiliaryAccountingsItem> auxiliaryAccountings { get; set; }
    }

    public class FilesItem
    {
        /// <summary>
        /// 政府信息公开目录
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string file { get; set; }
    }

    public class AttchementsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string cover { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<FilesItem> files { get; set; }
    }

    public class Data
    {
        /// <summary>
        /// 
        /// </summary>
        public string successAmount { get; set; }
    }

    public class ErrDataItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string index { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherId { get; set; }
        /// <summary>
        /// 每刻档案演示公司
        /// </summary>
        public string businessEntityName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string businessEntityCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string accountSetNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherPeriod { get; set; }
        /// <summary>
        /// 记账凭证
        /// </summary>
        public string voucherType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string voucherNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string reportIds { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string baseReportList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 四要素 已被其他凭证使用
        /// </summary>
        public string errorMsg { get; set; }
    }

    public class RESGL_ACCVOUCH
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 处理完成
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string errMsg { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Data data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string timestamp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ErrDataItem> errData { get; set; }
    }


}
